package com.hsy.baoinbao.modules.main.ui.activity;

import java.util.List;

/**
 * Created by Administrator on 2016/4/18.
 */
public class IntoGoodsGsonData {

    private int error;

    private String msg;

    private Result result;

    public void setError(int error) {
        this.error = error;
    }

    public int getError() {
        return this.error;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public Result getResult() {
        return this.result;
    }

    public class Result {
        private List<Goods> goods;

        public void setGoods(List<Goods> goods) {
            this.goods = goods;
        }

        public List<Goods> getGoods() {
            return this.goods;
        }

    }

    public class Goods {
        private int id;

        private String name;

        private List<Children> children;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setChildren(List<Children> children) {
            this.children = children;
        }

        public List<Children> getChildren() {
            return this.children;
        }

    }
    public class Children {
        private int id;

        private int cat_id;

        private long qty;

        private String name;

        private String price;

        public int getCat_id() {
            return cat_id;
        }

        public void setCat_id(int cat_id) {
            this.cat_id = cat_id;
        }

        public int getStock() {
            return stock;
        }

        public void setStock(int stock) {
            this.stock = stock;
        }

        private int stock;

        public long getQty() {
            return qty;
        }

        public void setQty(long qty) {
            this.qty = qty;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }


        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice() {
            return this.price;
        }


    }

}
